package com.ljm.common.enums;

/**
 * @author ChenHuaMing
 * 数据状态枚举
 */
public enum DataStatus {
    /**
     * 正常
     */
    NORMAL(1, "正常"),
    /**
     * 禁用
     */
    DISABLE(0, "禁用"),
    /**
     * 删除
     */
    DEL(-1, "删除");

    private Integer code;
    private String msg;

    DataStatus(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

}
